Add support for more constructs.

Add support for `implements`, `trait` and `yield`.