Little fixes: html and templates config support.