Remove 'all' parameter when marking all notifications as viewed and allow only appropriate methods