Avoided duplicated code improving ApplicationAssets constructor.