Refactored in 41dd834b13dc1917822771138bb54b98aab6cd9e.