Helper protocol library for the mir project