Init is called only after class has been instantiated.

Was giving NPE if addData was being called before subclass fields were initialized.
Merge pull request #82 from sarality/npe_init_enum_datastore

Init is called only after class has been instantiated.