I really think is better to move the exposed functions out of the definition of the exports object. And try to use allways named functions (Node turns into a hell to debug if you don't).