Remove dependency on undefined model 'Account'

There is code that references `Account`, but that model is not defined.  This
code change preserves the original functionality if that model is defined, but
allows broader use of the Gem with applications that do not have an `Account`.