Marking classes serializable that are used as part of the bundle.