Add filtering by status. Resolve #1.