def METHOD_NAME(self, typecode_or_type, *args, lock=True):
    """Returns a synchronized shared object"""
    from .sharedctypes import METHOD_NAME
    return METHOD_NAME(typecode_or_type, *args, lock=lock,
                 ctx=self.get_context())