add write_gcm plugin

Am I missing where these get used?