General-purpose Objective-C classes