SCHEMA-130. Use generics in CellDecoderFactories.

Use generics effectively in CellDecoderFactories.