Type hints for both parameters