Refactor of Bytes class (with help from Wilfred)