Added support for parent class name in config