Upgrade to apm@0.77