Replacing boost smart pointers with std smart pointers.