[Hackday] - add trigger error for deprecated clases.

missing ``instead`` at the end of the message for consistency