OnDisable and other callbacks not firing while in prefab?

I need to handle OnDisable event for my MonoBehaviour script component. While object with this component is instantiated on the scene, everything works fine, but when I manually disable the component on the master prefab (in the project window) — OnDisable is not being called.

Could this be a bug, or it’s by design?

Making changes to the “enabled” status of prefab elements and components in the project view does not invoke events on scripts, nor does it make changes to instances of those prefabs already in the scene. The ability to make those changes to the prefab is just giving you a way to control its initial state when it’s instantiated.

The answer is for an older Unity version.
Currently in Unity Version 5.6 the following code:

enabled = false;

Fires the OnDisable method and it is, working.