I had initially put them in separate methods since I thought it was easier to read and they involved more code.  But I can remove them now since I had added the get_config_value helper function.