Updated _entities.py generator module: excluded more not needed functions, made NotifyShouldTransmit overridable and included some other protected functions.