Use correct class for type hinting