Towards code generation using templates on the RHS.