Use flags rather than positional arguments, and plumb bytes argument through