MAINT: fix typo introduced in merge of PR-441, and remove unused import.