Add buffered data classes

Check it and the concept in background
This method call is senseless as you register a TypeAdapter for the class which is actually serialized in this write method.