Remove trailing spaces. Some code review with rubocop.