Removed unused function (to fix Clang warning)