Changed api to be able to return something which is successful data.