Change all template overriding to use UI.dynamic. Closes #74, I guess.