Added support for complex keys constructed from Lists rather than arrays.