General protocol handler implementations.