Unified autoloading

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.1+
| Fixed tickets | #2331