Remove deprecated methods from config-api.