Decoupled LayoutClass helper from ConfigReader.