Refactored the obsolete classes into memory.obsolete