added address method to AutoPtr and SafePtr