Make 'loaded' attribute non-global.