Helper functions for Parse.com Cloud Code