Added in cascading deletes. Closes #48
Merge commit 'daf8142fd7d740d40e6c0fc04595b03f2fefafe1'