[cleanup] Removed deprecated warning