Simplified `latch` functionality