Formalize locationHash, content handlers and transition helper api