Fix redirections
Allow method call chaining for Router->addState, State->addState and State->data.