Added ability to access subproperties on dependencies in TemplateNode dependency replacement.