fix Issue 4617 - Alias this'ed symbols cannot be passed to templates
Merge pull request #1032 from 9rnsr/fix4617

Issue 4617 - Alias this'ed symbols cannot be passed to templates