New orm function getdata
Fixing how methods are found.