Fixed conventions violations reported by RuboCop