Add recursive functions to Darkwing