Fixed RuboCop issues.