Adding intercept to detect object type responses.