Added optional argument to by pass validation during rebuild method.