Add a more convenient constructor to ValueKey.