NSInteger instead of int to keep Xcode happy.