Removing unused func.