Clean up TextProcessor interface