added Network method get_all_preferences() and fixed docstring