Finished the generalized DataPtr class.