Orientation fixes and other minor improvements.
Fixes [#3370673]
Issue #3345744: Make entity_embed dependency optional
Fixed [#3310542]
Fixes [#3287679] [#3263061]
Added Init callback function