Optimized entity loading