Add more type parameters to public API
More generic typing on ReadHandler and WriteHandler impls
Refine generic typing, remove all raw type usage
Remove one more raw type usage
Merge branch 'more-type-parameters'