use the new 'register_provides' function in the PyProtocols deprecation layer