Update code to comply with linter.