Adding some error throwing for Opera 12's benefit.