added extension registry to message before sending