Fix chunk matcher builder, ensure the type is set by using standard
factory function.