Added initial support for per-state key-value stores in Python library