Convert sections to use NSInteger

Fixes #30 #31