Minor work on the Cosmos library.