Removed unsused function.