A better failure message would be nice here.