Interpolate: Refactor plugin, added doc strings.