Avoiding resources floating out of scope by using 'contain' rather than
'include'