Correctly exposing toState and fromState