Clean code to follow Rubocop style guide.