Proper node module exports