Add logging and tpl interfaces.