Implemented a few simpler persistence methods.

Change-Id: I804cdd0b30420e171825fd86fe1281eca0d5e638