Remove use of deprecated APIs

Also add a spec.
I'm on board having `View` having an empty implementation of `onDidChangeTitle` as well.