Removed blank lines.
Corrected (some) issues reported by rubocop.
Removed global variable Tracing; moved to class variable.