add preprocessor in typebuilder