<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove(self, oid):
 """ Remove a faked resource from this manager. Parameters: oid (string):
 The object ID of the resource (e.g. value of the 'object-uri' property). """

        uri = self._resources[oid].uri
        del self._resources[oid]
        del self._hmc.all_resources[uri]