I'm implementing guild system for my game and trying to wrap all client request's to cloud script functions. How to work with entities using cloud script? In some questions I saw "var entityProfile = context.currentEntity;", but it throws errors. Can someone provide example code for a wrapper to ListMembership function, so that I can figure out with the rest?