Use :dependent option to avoid deleting type or category used in any posts. Fixes #21