Change function from public to private

Change function from public to private so that they aren’t publicly
callable.