Revert "intelligentPtr"

This reverts commit 09a827ba51ae15d6a8f0720e6b0c42bb45f07d2f.