Changed compliance with rubocop