Adjust code style as required by rubocop