Delete old TODOs. Fix unused warnings.
Const references.