FlashMessage class is now serializable