add last_response_cache and session as data attributes