Added layouts and partial templates.