Change module exports to be more inline with standard approach.