Added a way to trigger success event when data has no content