on_replace triggers on struct lua_trigger #40.