Add memoization to methods in Response and remove unused constant