Well that behavior actually didn't change. This message is still valid as you still need to pass either types or block however it is extended and inside "types block" you can pass variant now, but it's optional. I think changing that message to mention variant will only introduce confusion. What do you think? How do you suggest to change it?