Implement profile definition in the config file.