Add metatableregistry to ObjFun

 so that class functions returning custom type registered via SetObj work
Right so can you make a new constructor that doesn't require it?