Replace old code with new appstorm capacities.