Don't use deprecated module function