Split plugin's functionality into extensions.