remove processRequest in API class