simplify primitive writer methods