The most important role, however, for the first batch of the Liberator GR Is was in service with RAF Coastal Command on anti-submarine patrols in the Battle of .