Factor out the sibling generation into a helper method.