Essential type hints for class definitions