 It provided barrack accommodation for the garrison and was designed to be defensible, with loopholes in its front face to facilitate musket fire.Similarly, its gorge at the rear, where the main entrance stood, had crenelations to provide protection for defenders faced with a rearward attack.In front of the keep was a ditch, accessed via a gate at the rear of the fort.