Adding type filter implementation and NetworkDataSourceTest.