Add ref to process states table.  Fixes #316