Debug

Removing references to other classes, so Debug can be used as a
standalone class.