Made internal functions internal.