Further developed the QueriedData class.