Split runtime/foreign