Improvements to HTMRL