Add instance name to state providers

Ref #7