Remove a now useless function