Add support for a layout file