Added support for expandable strings

Addresses #4.