Generate classes based on the mozilla parser api

- now can filter based on types
We can lose one set of parens here.