Remove template and view cruft from core/