add resolve method to Class instances in favour of namespaced strings