Fix. Writer callbacks return size_t