Added setter for statusCode