Enhance assert error messages.