Upgrade to apm 0.59.0