Handle class names with double-colons (::) in them