Support deleting and stuff
fix type