Adds initial state support.