Add missing imports and remove unused parameters.