Remove non-function smartsource tags