Pojo Decoding works for simple cases (tests document which ones). ClassModel introduced to cache results of reflection calls, bringing encoding and decoding performance to levels similar to that of DocumentCodec.