Added filtering support.