Refactor VariableInitialization plugin.