Improvements to reduce memory leaks