Add throws declaration to Serializable interface.