Applying RuboCop suggestion.