Added support for activerecord model_mock and model_stub.