Moved use_ flags to config. This way, handlers have also access to them.