Made the Settings class serializable so it can be used with K*.