Add typedef for auto_ptr.
Impl member functions.