OMG!
I found the problem. Every function within that file has to wrapped within
if (!function_exists('function_name')) { } (or use require_once to include another file).
The reason that no errors were being reported is a bit of a surprise to me. It maybe something to do with a PHP 5.3.0 bug… it’s the first time PHP has released namespacing so it’s possible that error reporting is a bit mucked up.