Reduce event emitting, change export method to expose