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