Add deprecation warnings to old-style Location classes

`issubclass`, but yes.