Fix rubocop's RedundantSelf warning.