Added extended object factory for unmarshalling