Well, we were aware of systemic deficiencies, lack of training, and the need for Canada to assist in this regard so that they could upgrade their abilities to oversee detainees, provide proper care facilities, and to do that long after we left Afghanistan.
On April 21st, 2010. See this statement in context.