register

Adds an extension. Refused (IllegalArgumentException) when its id or a type is not in the extension namespace, names a core type, does not belong to its id, or is already taken: an extension can never replace a core message or another extension.