Remove unneeded gtd function