Add comments. Use unique_ptr::get() instead of &*ptr.