Refactored function and procedure code generation.