Added diable and enable Layout methods for easy rendering without (or with) a layout.