Implement library filtering