Make console.memory an object.