Removed use of deprecated-in-1.7 module.

The thing we are importing is actually defined in models, not generic.