Added type hinting to interface