Document params function
Remove unused import