Fix exporting of constructors for SimpleState and StoreError