Improve dispenser registration and use more config checks.