 Nevertheless, in the larger seaports these precautions required the commitment of considerable resources, requiring several hundred men to provide security.The requirement for the militia to undertake these duties was eased, however, when a special corps was raised from men that had been rejected for service with the AIF, to which a corps of garrison military police that had served in the AIF was added later.The militia garrison artillery and engineers were required throughout the war, however, to man the coastal defences.