Linting and renaming function.