Implement support for typedeaf'd class methods via #class_*

Fixes #6