Exposed loaded relations so that they can be inspected.
Tweak code formatting in Eloquent model.
Merge branch '4.0'