Add getbyte method