Moved all reflection code to static methods on the Reflect class.