Add [Serializable] to fix issue 1818
Merge pull request #1819 from caterwomtious/caterwomtious-1818-addserialisable

Add [Serializable] to fix issue 1818