basic Objective C runtime utility functions