First pass at persisting relationship changes. See #41. See #47.