Add some more methods to vec and vec::bytes