Heap functions. Inline in header, remove Heap.cpp. The specific heaps should have implementation files, not the protocl.