Added macros for transformation class to singleton.