set methods accessibility for Response class