add_perms is used once, could remove the method and copy line 362 here and save yourself 2 whole lines, exciting