Add externs for closure advanced compilation