Move compat configuration warning from module method to instance method
  * In module method, logger is not accessible, so previous code raises NoMethodError
  * Compat mode indicator to be included for generated ROOT element to show warn logs