feat(state): Allow states to define custom url handlers