re #3687

Ability to hook into core classes initializing was implemented.