Expose 'provides_protocol' to API.