Add deprecation warnings to old-style Location classes

Here