Slight refactoring of Extensions to support lookup by name, added compatibility tests for text and binary formats.