Sure, I'll abstract it from the 2.0 theme engine into wpsc-functions.php. Feel free to remove it from this PR.