Add reflection function.
Convert utility function to static.