Fix exports for require