Divide unused declaration setting into two separate options

Update documentation in order to close #667.
Right. Please fix it in your PR if you have a chance.