Remove tasks handler declaration