Add documenting comments for plugin generation