For ibrowserhandler add boost scoped_ptr pointer .