added support for class-level targets per #52