Implement deleting and exec on model prototype.