Added DtsGraph functionality and some new templates.