New class for the binary format and old API