Implemented in https://github.com/jakub-g/ariatemplates/commit/72b37fb2fad53bf64dcf7cddbe5b8d0b7d042407#diff-504acaf525d438c4449eb91e3a2c2a6eL340 

now the prototype is still kept, but constructor is changed (this shouldn't matter much though)