Removed unused function left from last commit.