Work with interfaces instead of just strings.