An officer who attends to the berthing, etc., of ships in a harbor.