Some directory heap assertion checks.