Japan's Ko-hyoteki-class submarines were originally designed to take part in decisive fleet actions. However, as circumstances changed, they were given the task of harbor penetration. Germany's various World War II designs were mostly designed to attack Allied shipping off landing beaches and harbors, although the Seehund had a great enough range to attack shipping off the Thames estuary.