Compiler::registerTranformation: allows multiple types and classes to be registered at once