Fix MethodLength rubocop warnings.