Configuration parsing helper.