Fix dot in function name issue.

Fixes #1