Removed self-implemented smart pointer