Fix bugs.
Add MemoryCleaner.