The withPivot function is now added to belongsToMany relations with custom pivots that do have additional fields