Add ReplaceWithRegister plugin