Use interface for type hinting