Change checkDoDev to expandDoDev; it's more useful elsewhere.