Added DefaultStateEngine implementation.