Fixed clang implementation.