Add deprecation warnings to removed classes and methods

LMS-2856