You forgot to remove the '.actions' from here (and from mafia.showOwnRoles).