Defining interfaces for plugin