Add some code generation for calls