Fix leaks caused by "documenting" explicit calls to "release" (not reset!) unique_ptrs (!)