Code for Episode 14: The Registry Pattern