Updating externs and type defs