Fixed size formatting.
Fail properly when template is invalid.
Fixed default template.
Default value for HTML callbacks