Added accessors, as_string etc.