Changed element types to a first class Eloquent object.