Added setter for accesskey and secret.