make ref/unref known *before* including the class