Warn for deprecated declarations