Clean up PromptBuffer interface