Stopped the resource being explicitly a pool instance and only wrote it once