Fix a few Eloquent bugs.