Remove unused error and response modification methods