Renamed getClassInstanceFunction/getClassStaticFunction to getClassMethod/getClassStaticMethod