Removed most violations detected by rubocop