That should be ok. Hidden passages/latches can act like keys/codes, which are all mostly interchangeable in the layout generator.