Promote Wart.AsInstanceOf to an error.