Removing useless method, adding missing delete