Rename 'closure' type to 'function'