change internal uses of "port" to "dock"