support template imports