Removed some unused special functions from python3