Fixes membership creation and saving, closes #125.