Add recursive delete functions + some other stuff