Use exported type of function argument instean private