Have deprecated functions in pycore call replacement functions.