Removed unused enable_shared_from_this.