fix type in doc for class attribute