Reduced the visibility of Pin and Port from public to package