Changed return values to inherit from a base PDictionary class