Switch to boost::shared_ptr / boost::weak_ptr because of script bindings support in my project.