Fixing missing parameter type

This fixes warning about multiple length methods in Xcode.
Merge pull request #134 from ppeszko/master

Fixing missing parameter type
Merge branch 'master' into add-low-level-api