Fix incorrect specification.

Add missing return information and correct incorrect spec.
Merge pull request #848 from basho/bugfix/csm/dialyze

Fix incorrect specification.