Added datatypes namespace.
Added 'Templates' section.
Improved ua:create-event() function.