Pensions are notoriously under/unfunded, particularly in local governments. I wouldn't count that as a guaranteed benefit. It may retroactively be cut in the future.
Neither of those have to be properly accounted for in dollar terms today
They actually are, at least for pension contributions.