Add declarations for new static variables in input::environment; move utility functio...