Add boost smart pointer.