Remove unused imports and small optimize 'classname' template filter

Thanks for you job.