Added BaseTemplate interface.