I still don't like this being part of swallow.  I think it would've been better suited as an application file loaded in from a hook.  How come you didn't go down that path?