Refactor Transform API to remove class instantiation configuration