Adding midgard2 extension