Added dependency for activeresource to model definition.