Base exports as object instead of function