Provides some useful functions by introspecting an object