Remove unused imports
Remove template header
Enhance API
Add test for UniqueTrims example