Fix invalid return variable.

Fixes #29.