Refactor api views.
Change storage delete to return related plugin.
Implement plugin pipe deletion.
More coverage and tests.