Cast user_class as string inside the initializer template.