Creating class response.