Introduce RobotPluginBase class to remove code duplication in plugins