return classes on the function object for easy access