Do inheritance properly

Otherwise the stack gets set to weird things and it doesn't work properly when you throw it, or when express logs it.
0.0.1