Core of nanoc 4.x