Allow and use temporary cave structs