Remove unused method, pylint