Hanabi first API refactored.