Added set_typing wrapper.