Renamed state.params to state.$params