Make closures real functions