Minor refactoring.
Import 8ball command from old NICE repo.