Extracted method to allow builder customization.