Make layouts in namespace optional