Add assert and with to parser