Implemented methods used by ChessFlash.