C class uses bytes attribute instead of a method.

See #5