Added code generation for monops