make Ti namespace completion work in statements, fixes #32