Let's make these C methods instead of a category. I'm trying to avoid introducing any categories in Nimbus because they're fairly high risk with respect to having apps be rejected.