Added support for memberships in profile.
Merge pull request #4 from sirius17/experimental-feature

Added support for memberships in profile.