Fixing backwards compatibility with old templates using '_Layout'