All this parsing should be done at init time, and should probably be done by regex so we can see what's happening.