Covering remove_unreachable_resources