Implement a simple shared lazy loader.