Added hook for results processing