in reply to Errors when using module

The other clue to the problem is the message snippet:
<GEN0> line 182
This says - look at line 182 of your input file. Something in that line caused your code to call to the undefined "isa" method.

             I hope life isn't a big joke, because I don't get it.
                   -SNL