Updated model to support delete (defined delete cascading in relationships).