access to constants from nested class vs from namespaced class