@markstory Is this more what you had in mind?
https://github.com/paddythenerd/cakephp/commit/c3a8af1d26d406bfff4f59e9e3d317979f432d33