Writing procs in more than one file needs work. Currently, it's horrible magic. I think there's a ticket, but there's certainly a todo item on the radar.