Set ConfigAdapter only in Template