feat(state): Allow custom urlHandlers to be defined for states