The core of the Hoodie backend