Removing python2 legacy.