Important. Fix parsing bit flags in protocol.
Move methods for Basic class into it’s own trait.