[WIP] Config labels

I think using named return values will be better here.