Please define an interface and change the type hints above