Taking into account the case when MLP is a layer for another class.
Changing monitoring interfaces for nested MLP.
Including an example.