Add more helpful messages for deprecated functions