Fix/work around rubocop errors.