Don't use the deprecated versions of functions