library & resolver inside Templates