fix two typos.

1. missing `class`.

2. unexpected comma.