Added check for deprecated functions.