adds @Deprecated annotation on classes