added fields to POSTagger to help with serialization