Upgrade to apm 0.78