extending a class outside of media scope is deprecated. Need to copy the...

... class definition into each scope for the time being.