Make it compatible with upcoming StageXL version