Improves reference counting