Throw a better error on bad content kind.