WriteHeader and WriteBody can now return error; deprecate Validate
update container writer, deprecate Validate
implement new TypeWriter interface on slice writer