#81: Partially rewrite config reading.