Improve error class inheritance and decoupling.