Make work on 2.0 and 3.0
Serialisable.