Adding type to Filter