Revert "Modified version to work with CloudPebble."

This reverts commit 2392dc4c95d4c87fe0ae246045d282d333e73b6a.