document --name and --class

Closes issue #181.