Add additional type hints to `synapse.server_notices`.