Make all beans serializable for session saving/restore.

Closes #8