Fixed typo in function signature. Fixes #30