Moved class() and description() to PieceGenerator.