From time to time I've considered something like that, but in the end anything that deals with display state is better off being explicit. The details vary from case to case and we would end up having million helpers with similar names and harder to track dependencies.