Adding arbitrary class name support and FreeBasic implementation