Factor out ticker functions and clean up their semantics/usage.