Add support for enable or disable generate operations for entities