Revert "okay this should do it"

This reverts commit cfe9cf9da3490429d0a0333c0b892fbd46e9cc3a.
individually disabled automatic reference counting for some files it
was causing problems with. also, very easy function was missing.