Introduced MonadResource.