Merge code to be same across plugins.