Updating parser so the curry function can take more arguments. This is getting out of hand, need to refactor at some point.