Fixed typos and changed the way of registration for MtHaml

Fixes #13