Added missing pointer dereference. Fixes #22.