Cleaned up Memory aspects.