Removal of full declarations

removed the need to specify ‘response.statusCode =‘