Add permission level to the json.
Removes unnecessary attr.
Removes unused property and adds some code notes.
Updated code notes.