Getting rid of clang warnings