Add checkmate support.