Reduced memory usage slightly during open.