You can add functionality to the Structure Plugin itself by creating a plugin that uses one of the available Structure extension points.