Add Class Annotation Security and tests

Any comment welcome !