Add two more filter methods to StatementList

If you are really upset about the loop, you can always refactor the code to avoid this. You'll have some small amount duplication and additional complexity then though. I personally do not think this is worthwhile.