get rid of enum, just use nested classes in Transforms