Removed debug argument from methods added to __construct() instead.