Add resource loading utils