Remove deprecated syntax