mark types used in session as serializable