Removed some deprecated from core.py