Add containers for layouts in KMethod