Import hooks in class methods

Note that the import messages for the in-method hooks wont be indented three levels as expected, but only two. I think that to fix this the indenting of the importer feedback messages needs to be refactored. I'll do that in another PR.

Fixes #57