Remove the config dependency from the permalink module.