Improved DuckPointer to support data members