Implementation of the web ui template system.