Use an autorelease block instead of a class.