Remove wrapper function for shared_from_this()