I'm not sure what you mea by a "latch" object.  Can you sketch out what that would look like in practice here?