Improve error for untyped member definition
Add error for missing class instance members
Improve "error in type class" message