Implement function definition and re-definition in delta execution