Remove code made obsolete by switching to the config class.