allow accessing of model objects when using Eloquent