Add util to extract class name