Revised input transformation framework.