Add helpful deprecation messages for deprecated functions