Added support for string primary keys.