Rename "class" method arguments to "aClass" for C++ compatibility