Fix PyFlakes errors