Add curry and uncurry