[liuxia] Add variable replacement support.