Reduce loading code.