Add support for the listener loading pattern.