Ensure compatibility with Grape 0.8.0, 0.9.0 and 0.9.1.