Fix typespecs.