Remedy for new Compass version and deprecated variables.