A reflection library for better performance