Support for testing, error reporting, refactoring.