Corrections for a part of AutoPtr module.