Remove an unused and outdated function