Gracefully handle accessor declarations in ambient classes.

Fixes #139.