add class annotation

annotations can be set in class for all functions