Add support for activemodel/activesupport 4.2.