Make AutoPointer more restrictive.