Use session.delete for deletion instead of orm.delete method that may not exist