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