Removed dependency on ActiveModel.