Splits the main spec into Path and String forms.