An approach to making things testable without bloating the public API