Mark a few things serializable, fixes #1663.

Just added "implements Serializable" in a few places.