Adding type filter to helper