Updated _from_bytes method
Fixing merge issue