hide.py: Added ensure mode.