Use constants arguments where possible

No functional changes.