Move typing stuff into Typing.