Trimmed more unnecessary code from some plugin write sides.