[refac] removed unnecessary pub declarations