Added type filtering for GetTemplateChild.