Make SmartSnippet avaialble in TextPlugin