Removing debug direct curl output from class