forgot to remove imports of removed method (after having already sent
the pull request)