Made closed class configurable