Added original two lines for completeness
Working code, but lots of extra routines lying around.  Does not support
exports yet.