Inline internalization and externalization to avoid multiple definitions.