Removed RefCounter class which is no longer used