Allow to use preload helpers inside factory definition