Move tomate plugin interface from module.