Use getOption static method of Config instead of direct access