Add missing stem signs.
Make member variable const.
Put non-global function in anonymous namespace.