I'd suggest to move this to it's own function in the descriptor class.