Added utility function to get list of all function names in a object