Fixed usage of registerExtensionDefaults()