Fix definition according to functions
Merge pull request #112 from moobyfr/patch-1

Fix definition according to functions