Inline trait extension when loading entities