Make all types serializable to support passing through intents