Optimize assets.