Make HTML template optional. Closes #10.