Add type info to the config file