Fixed RuboCop offences