Make yaw and pitch optional for location