Allow selecting classes to generate assertions for with regexp. Fixes #14