Probably should keep the DIR_TO_WIDGET filter here.