Emit type info for variables