Add flags to configuration so we can indicate that a collection should be lazy loaded or not. The set_parameter vs define logic should be grouped to simplify this.