Add deprecation warnings to old-style Location classes

I still don't entirely understand opaque keys so this may be a stupid question. Is LocationBase supposed to be subclassing something?