Simplify internal data structure.

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>