[Refactor] Change safe to safe_core.