Removed console.debug() statement.