Registering the extension