change the way how preprocessors are registered