what about `class`.

also it would be great to add some docs (API docs & readme)