Resource loading code cleanup