Cache commands, settings, and formatters on access
Remove unused temp variables