Ported to latest AssetsModule.