Handler implemented correctly. No more leaks :)