Removed unnecessary reference to BottomPtr in template code as it is already added with nontemplate code.