Added STX for TPObject serialization
Changed Document & URI to class

Now inherit from TPObject to allow for serialization