Adding the frame as an parameter when creating an waypoint.
Gets the frame from a preference setting.