Adapted to newest ssvu::MemoryManager (WIP, may change in future)