Pulling a complex transform out into its own private class