Generates serializable PML objects