@Override
public void onSuccess(DispatchServiceResultContainer result) {
// TODO: Fix
if(action instanceof HasProjectId) {
ResultCache resultCache = getResultCache(((HasProjectId) action).getProjectId());
resultCache.cacheResult((Action<R>) action, (R) result.getResult());
}
cacheRenderables(result.getResult());
dispatchEvents(result.getResult());
delegate.onSuccess(result.getResult());