Pin the variables types

Hi there.

I thing it would be great idea, to give an option to pin variable types like integer, bool, string etc are.