support configure type attribute in the config file.