Standard GCM boilerplate.