Fixed the cache decorator to return also the results from the cached methods.