Fixed #41 - Resource counting now works again.