Set 'scope' as optional param

This is what I have changed and used in my current project. To prevent the situation what I had met and was issued as issue #9.