Fixing lint errors after a function rename