Remove the useless id value from the config file, and add support to more fields.