Move essential defuns to core.el