Throw proper exception instead.