Added split method to Variable.
Fixes #11.