Removed unused code

USERGRID-1861
Merge pull request #182 from apigee/subkey-prune

Removed unused code