Deletecategory

Fixes #288