Added comments on writer.go.