Added support for hyphens in var/in/out references. Closes #11.