Added MemoryChecker class.