Cap extension for the Elastics gem.