Extract some config methods