Added type hint for string to avoid reflection.