Added Wari constructor with state argument.