Namespaced class reference fix