Improvements in latching logic.