Converts arrow function to a traditional closure