support parent in loader tpl. Fixes #33