Add const parameter.
Merge pull request #7 from nouiz/const

Add const parameter.