Add curry decorator