Fixed missing include and a typo.