Fix missing 'function'