Allow keypaths to being with an underscore or dash.

/cc @nickjs