Add option to exclude classes. Fixes #17.