Now consumes much less memory.