Moved alloc/free methods to the bottom of public methods list.
Formatted 'offset' helper method in all classes.
Optimized naming of C variables - removed useless underscore.