Properly implement fluent interface in all writers.

Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>