Introduced Builder::undefineAll helper function