layout: Remove method theme_enable
This was an internal thing, ugly, replaced by another ugly solution, but maybe less ugly.
Ref T5315