Declare types and functions for the memory manager