An implementation of the service locator design pattern.