adds method to map to class
adds method to check if a mapping exists on an injector