Variable's string representation can be passed in sub element

This is an attempt to fix #1