Add deprecation warnings to old-style Location classes

Same comment as above but for `_from_depricated_string`