Remove function from function definition