Fix externs