Made template layout class names unique