Revert "remove protocol declaration"