Include core.cache
Remove commented-out code
Generally, everything called via request or requests now.