Add curry and closure