Somewhat refined HashTableLPController.
Still needs a few adjustments.