Add expand_to_semantic_unit and expand_to_symbols to work within strings
clean code, #23