Export object instead of function