Make get_confs method callable from other places