Added the ability to specify custom metric types in a config file.