Change get_privileges to use __get internal method