Register Gender.class as serialisable