Did away with "out parameter" in various functions which populated a
container.
Now returning containing directly from these functions, given C++11
move semantics ensures this will be done efficiently.