Added statistics to task namespace