Because parameters of view functions for browse web application were
not typed, mypy was not processing the body of those functions and
thus typing errors could be missed.
So add typing to these function signatures and fix new mypy errors now
new code is processed.