Avoid using ObjectSpace