Added accessors for to and from