Ported to latest assetsModule.