Implement filter by type