Add helpers for storing internal state of server