Model: support _beforeDelete and _afterDelete methods