Ensure backwards compatibility with v3.x of the gem.