Begin implementing @k_Foo.def_method() decorator to replace @wrap_method()
Allow dummy method declarations in def_class()
Test def_method() and add some validation
fix a test