feat(restruct): Plugin updated to comply with new API