Initialize $ops in generate().
Updated to Kohana 3.3/develop branch at
https://github.com/kohana/kohana/commit/af7ce3d6336faa527c612ba2aada633009ed0490