Move launcher shadow loading function to shadow module.